package com.sany.assess.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author michael.li 【fd_li@westinfosoft.com】
 * @version 1.0.0
 * @description 返回公共实体类
 * @date 2/14/20 09:34
 * @params
 * @return
 */
@ApiModel(description = "返回公共实体类")
public class JsonActionResult implements Serializable {

    @ApiModelProperty(value = "成功状态")
    private boolean success;
    @ApiModelProperty(value = "返回消息")
    private String message;
    @ApiModelProperty(value = "返回数据")
    private Object data;

    public boolean getSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
